home *** CD-ROM | disk | FTP | other *** search
- on pressDevotionalMenu
- set spriteNum to the clickOn
- set upcastColor to 251
- set downCastColor to 6
- puppetSound("MouseDown.aif")
- repeat while the mouseDown
- if rollOver(spriteNum) then
- set the foreColor of sprite spriteNum to downCastColor
- else
- set the foreColor of sprite spriteNum to upcastColor
- end if
- updateStage()
- end repeat
- if rollOver(spriteNum) then
- startTimer()
- repeat while the timer < 15
- set the foreColor of sprite spriteNum to downCastColor
- updateStage()
- end repeat
- set the foreColor of sprite spriteNum to upcastColor
- updateStage()
- puppetSound("MouseUp.aif")
- updateStage()
- set RollOn to 1
- else
- set RollOn to 0
- end if
- return RollOn
- end
-